#ifndef COMPILE_ONLINE

#include "header.cpp"

#endif

bool isQual(const vector<char>& v1, const vector<char>& v2)
{
    int n = v1.size();
    for (int i = 0; i < n; i++)
    {
        if (v1[i] != v2[i]) return false;
    }
    return true;
}

void Test1()
{
    vector<char> ret = {'h','e','l','l','o'};
    vector<char> reverse_ret = {'o','l','l','e','h'};
    Solution().reverseString(ret);
    if (isQual(ret, reverse_ret))
    {
        std::cout << "通过测试用例1" << std::endl;
    }
    else
    {
        std::cout << "未通过测试用例1" << std::endl;
    }
}

void Test2()
{
    vector<char> ret = {'H','a','n','n','a','h'};
    vector<char> reverse_ret = {'h','a','n','n','a','H'};
    Solution().reverseString(ret);
    if (isQual(ret, reverse_ret))
    {
        std::cout << "通过测试用例2" << std::endl;
    }
    else
    {
        std::cout << "未通过测试用例2" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
    return 0;
}